package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
@Schema(
        name = "Identity",
        title = "身份信息表",
        description = ""
)
@TableName(value = "users_identity")
public class Identity {

    @Schema(title = "身份信息id", description = "")
    @TableId(value = "identity_id")
    private Long id;

    @Schema(title = "高校id", description = "")
    @TableField(value = "college_id")
    private Long collegeId;

    @Schema(title = "身份姓名", description = "")
    @TableField(value = "identity_name")
    private String name;

    @Schema(title = "身份证号码加密", description = "")
    @TableField(value = "identity_cards")
    private String cards;

    @Schema(title = "考生号加密", description = "")
    @TableField(value = "identity_candidate")
    private String candidate;

    @Schema(title = "学号", description = "")
    @TableField(value = "identity_number")
    private String number;
}

